﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace TrainingWorkshop.Models
{
    /// <summary>
    /// Course Object
    /// </summary>
    [DataContract]
    public class Course
    {
        private int _CourseId;
        private string _CourseName;
        private int _TeacherId;
        private int _LevelId;
        private bool _CourseStatus;
        /// <summary>
        /// Primary key of course
        /// </summary>
        [DataMember]
        public int CourseId
        {
            get { return _CourseId; }
            set { _CourseId = value; }
        }
        /// <summary>
        /// CourseName of Course
        /// </summary>
        [DataMember]
        public string CourseName
        {
            get { return _CourseName; }
            set { _CourseName = value; }
        }
        /// <summary>
        /// Foreignkey:TeacherId the key of Teacher
        /// </summary>
        [DataMember]
        public int TeacherId
        {
            get { return _TeacherId; }
            set { _TeacherId = value; }
        }
        /// <summary>
        /// Foreignkey:LevelId the key of Level
        /// </summary>
        [DataMember]
        public int LevelId
        {
            get { return _LevelId; }
            set { _LevelId = value; }
        }
        /// <summary>
        /// CourseStatus
        /// </summary>
        [DataMember]
        public bool CourseStatus
        {
            get { return _CourseStatus; }
            set { _CourseStatus = value; }
        }


    }
}
